<%-- 
    Document   : Navigation
    Created on : Nov 23, 2012, 6:23:36 AM
    Author     : vupttse
--%>

<%@page import="assignment2.data.Users"%>

<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<div class="navigation-bar">
    <div class="navigation-bar-inner">
        <span class="menu-pull"></span>

        <div class="brand border-color-white">
            <img src="images/banner.jpg" style="width: 360px; height: 50px;">
        </div>
        <ul class="place-right">
            <li><a href="Home.jsp">Home<i class="icon-home"></i></a></li>

            <li data-role="dropdown" class="sub-menu">
                <a href="#">Products</a>
                <ul class="dropdown-menu">
                    <li><a href="ViewProduct.jsp">Shoes</a></li>
                    <li><a href="ViewProduct.jsp">Clothes & More</a></li>
                    <li><a href="ViewProduct.jsp">Collections</a></li>
                    <li class="divider"></li>
                    <li><a href="ViewProduct.jsp">Sale</a></li>
                </ul>
            </li>

            <li data-role="dropdown" class="sub-menu">
                <a href="#">News & Events</a>
                <ul class="dropdown-menu">
                    <li><a href="UnderConstruction.jsp">Hot News</a></li>
                    <li><a href="UnderConstruction.jsp">Sale off</a></li>
                    <li><a href="UnderConstruction.jsp">Gift<i class="icon-gift"></i></a></li>
                </ul>
            </li>
            <li><a href="UnderConstruction.jsp"> Galerry <i class="icon-pictures"></i></a></li>
            <% Users currentUser = (Users) session.getAttribute("currentUser");
                if (currentUser == null) {%>
            <li><a href="LoginPage.jsp">Login </a></li><%} else {%>
            <li data-role="dropdown" class="sub-menu">
                <a href="#">Account</a>
                <ul class="dropdown-menu">
                    <li><a href="EditProfile.jsp">Edit Profile</a></li>
                    <li><a href="ChangePassword.jsp">Change Password</a></li>
                    <li><a href="LogoutPage.jsp">Logout</a></li>
                </ul>
            </li><%}%>
        </ul>
    </div>
</div>
